﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_PHOTO.cs
// 项目名称：Lovol 
// 创建时间：2011/10/25
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_PHOTO数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_PHOTO", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_PHOTO", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_PHOTO_Entity
    {
        #region 变量定义
        ///<summary>
        ///自增编号
        ///</summary>
        private long _aUTOID;
        ///<summary>
        ///工单编号
        ///</summary>
        private long? _cASEID = 0;
        ///<summary>
        ///图片名称
        ///</summary>
        private string _fILENAME = String.Empty;
        ///<summary>
        ///图片路径
        ///</summary>
        private string _fILEPATH = String.Empty;
        ///<summary>
        ///图片大小
        ///</summary>
        private string _fILESIZE = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_PHOTO_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///自增编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_PHOTO")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long AUTOID
        {
            get { return _aUTOID; }
            set { _aUTOID = value; }

        }

        ///<summary>
        ///工单编号
        ///</summary>		
        public long? CASEID
        {
            get { return _cASEID; }
            set { _cASEID = value; }

        }

        ///<summary>
        ///图片名称
        ///</summary>		
        public string FILENAME
        {
            get { return _fILENAME; }
            set
            {
                _fILENAME = value;
            }

        }

        ///<summary>
        ///图片路径
        ///</summary>		
        public string FILEPATH
        {
            get { return _fILEPATH; }
            set
            {
                _fILEPATH = value;
            }

        }

        ///<summary>
        ///图片大小
        ///</summary>		
        public string FILESIZE
        {
            get { return _fILESIZE; }
            set
            {
                _fILESIZE = value;
            }

        }


        #endregion

    }
}
